.class Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnLongClickListener;


# instance fields
.field final synthetic this$0:Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;

.field private final synthetic val$childPosition:I


# direct methods
.method constructor <init>(Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;I)V
    .locals 0

    iput-object p1, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->this$0:Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;

    iput p2, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->val$childPosition:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onLongClick(Landroid/view/View;)Z
    .locals 2

    iget-object v0, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->this$0:Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;

    #getter for: Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->swipeOpenOnLongPress:Z
    invoke-static {v0}, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->access$2(Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->this$0:Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;

    #getter for: Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->downPosition:I
    invoke-static {v0}, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->access$1(Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;)I

    move-result v0

    if-ltz v0, :cond_0

    iget-object v0, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->this$0:Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;

    iget v1, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->val$childPosition:I

    invoke-virtual {v0, v1}, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->openAnimate(I)V

    :cond_0
    :goto_0
    const/4 v0, 0x0

    return v0

    :cond_1
    iget-object v0, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->this$0:Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;

    iget v1, p0, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener$2;->val$childPosition:I

    #calls: Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->swapChoiceState(I)V
    invoke-static {v0, v1}, Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;->access$3(Lcom/fortysevendeg/swipelistview/SwipeListViewTouchListener;I)V

    goto :goto_0
.end method
